;heading paragraph styles style("Heading 1") { toc=1 elem=h1 } style("Heading 2") { toc=2 elem=h2 } style("Heading 3") { toc=3 elem=h3 } style("Heading 4") { toc=4 elem=h4 } style("Heading 5") { elem=h5 } ;do not put in TOC style(rmh) { elem=h5 } style(rh1) { toc=5 elem=h4 } style(rh2) { toc=6 elem=h5 } style(proch) { elem=p .class=proclabel } ;Notes style(np1 np2) { elem=p maxlist=0 } style(np1i np2i) { elem=p maxlist=1 } style(nh) { elem=p maxlist=0 } style(nhi) { elem=p maxlist=1 } style(wh) { elem=p maxlist=0 } style(whi) { elem=p maxlist=1 } ;---uncomment next two lines to enable notes HR style(ns ne ws we) { start="\r\n
" end=""} style(nsi nei wsi wei) { start="\r\n
" end="" maxlist=1} ;style(nsi nei wsi wei) { elem=hr start="\r\n" end="\r\n" maxlist=1} ;style(ns ne ws we) { elem=hr start="\r\n" end="\r\n" } ;---uncomment above two lines to disable notes HR style(th) { elem=th } style(thf) { elem=th } ;syntax statements style(tsyn) { td.nowrap td.width="" maxlist=0 replacespaces=1 expandtabs=4 } style(synw) { elem=dl maxlist=1 .class=syntax replacespaces=1 expandtabs=4 } style(syn) { .class=syntax replacespaces=1 expandtabs=4 } ;list paragraph styles style(ln1) { elem=ol maxlist=1 } style(lb1) { elem=ul maxlist=1 } style(term1) { elem=dt maxlist=1 } style(def1) { elem=dd maxlist=1 } style(lp1) { maxlist=1 } style(ln2) { elem=ol maxlist=2 } style(lb2) { elem=ul maxlist=2 } style(term2) { elem=dt maxlist=2 } style(def2) { elem=dd maxlist=2 } style(lp2) { maxlist=2 } ;let unmapped styles not be list paragraphs style(*) { maxlist=0 replacespaces=1 expandtabs=4 } ;example styles style(ex) { elem=p .class=ex replacespaces=1 expandtabs=4 } style(exw) { elem=p .class=ex maxlist=0 replacespaces=1 expandtabs=4 } style(exl) { elem=p .class=exl maxlist=1 replacespaces=1 expandtabs=4 } style(exl2) { elem=p .class=exl maxlist=1 replacespaces=1 expandtabs=8 } ;character styles cstyle(small) { start="" end="" } ;customized tagging elem(table) {.cellspacing=0 if %list% { start="

 

\r\n\r\n" } } elem(li) { end="\r\n" } elem(th) { .align=left } elem(dd) { end="\r\n" }